package com.evony.client.action 
{
    import com.evony.common.*;
    import com.evony.common.module.npchero.*;
    
    public class NpcHeroCommand extends Object
    {
        public function NpcHeroCommand()
        {
            super();
            return;
        }

        public function setSender(arg1:com.evony.common.Sender):void
        {
            this.sender = arg1;
            return;
        }

        public function getNpcHeroInfroByID(arg1:int, arg2:int, arg3:Function=null):com.evony.common.module.npchero.NpcHeroListResponse
        {
            this._getNpcHeroInfroByID_callback = arg3;
            var loc1:*;
            (loc1 = new Object()).npcid = arg1;
            loc1.castleId = arg2;
            if (this.sender != null) 
            {
                sender.sendMessage("npchero.getNpcHeroInfroByID", loc1);
            }
            return null;
        }

        public function getNpcHerosList(arg1:int, arg2:Function=null):com.evony.common.module.npchero.NpcHeroListResponse
        {
            this._getNpcHerosList_callback = arg2;
            var loc1:*=new Object();
            loc1.castleId = arg1;
            if (this.sender != null) 
            {
                sender.sendMessage("npchero.getNpcHerosList", loc1);
            }
            return null;
        }

        public function getNpcHerosListByFilter(arg1:String, arg2:int, arg3:Function=null):com.evony.common.module.npchero.NpcHeroListResponse
        {
            this._getNpcHerosListByFilter_callback = arg3;
            var loc1:*;
            (loc1 = new Object()).filter = arg1;
            loc1.castleId = arg2;
            if (this.sender != null) 
            {
                sender.sendMessage("npchero.getNpcHerosListByFilter", loc1);
            }
            return null;
        }

        public function getNpcHerosListByMoney(arg1:int, arg2:Function=null):com.evony.common.module.npchero.NpcHeroListResponse
        {
            this._getNpcHerosListByMoney_callback = arg2;
            var loc1:*=new Object();
            loc1.castleId = arg1;
            if (this.sender != null) 
            {
                sender.sendMessage("npchero.getNpcHerosListByMoney", loc1);
            }
            return null;
        }

        public var _getNpcHerosListByMoney_callback:Function;

        public var _getNpcHerosListByFilter_callback:Function;

        internal var sender:com.evony.common.Sender;

        public var _getNpcHeroInfroByID_callback:Function;

        public var _getNpcHerosList_callback:Function;
    }
}
